package com.ds.infrastructure.hyperspace.console.model.response.result;

/**
 * @author: yaozhendong
 * @create: 2019-09-17 15:02
 **/
public class JsonResultError {
    private JsonResultError() {
        throw new IllegalStateException("Utility class");
    }

    public static JsonResult build(Integer code, String message) {
        return new JsonResult(code, message);
    }
}
